package com.hawthorn.redis.repository;

import com.hawthorn.entity.dto.SysDictDTO;
import com.hawthorn.entity.po.SysDictPO;
import com.hawthorn.platform.repository.DBMapper;
import com.hawthorn.redis.repository.provider.DictCacheSqlProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>todo SysDict Mapper类</p>
 * @author: andy.ten@tom.com | xukaixing@hotmail.com
 * @created: 2021/12/17 4:17 PM
 * @version v1.0.1
 * @copyright: Copyright (c)  andyten
 */
@Repository
public interface DictCacheMapper extends DBMapper<SysDictPO>
{
  @SelectProvider(DictCacheSqlProvider.class)
  List<SysDictDTO> selectDict();
}
